//
//  YBHomeTopHeaderView.h
//  ZhongWangYuanApp
//
//  Created by apple on 18/6/5.
//  Copyright © 2018年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TitleBannerView.h"

//大小   宽:[UIScreen zj_screenWith]    高:ItemHeight * 525

@protocol YBHomeTopHeaderViewDelegate <NSObject>
//点击图片
-(void)didClickImageViewWithIndex:(NSInteger)index;

//点下方按钮
-(void)didClickBottomButtonWithIndex:(NSInteger)index;

@end

@interface YBHomeTopHeaderView : UIView
@property (nonatomic , strong) TitleBannerView * bannerView;

@property (nonatomic , assign) id<YBHomeTopHeaderViewDelegate> delegate;


//设置banner数据
-(void)setBannerArrayWithImageUrlArray:(NSArray *)imageUrlArray;


@end
